package com.itheima.schedule;

public class JobControlBlock{
	float time_Sever;//服务时间
	float time_Arrive;//到达时间
	float time_Start;//开始时间
	float time_Finish;//完成时间
	float time_Turnover;//周转时间
	float time_WeightedTurnover;//带权周转时间
	public JobControlBlock(){
	}
	public JobControlBlock(float time_Sever,float time_Arrive){
		this.time_Sever=time_Sever;
		this.time_Arrive=time_Arrive;
	}//传服务时间，到达时间
	public void set_time_Start(float time_Start){
		this.time_Start=time_Start;
		time_Finish=time_Start+time_Sever;
		time_Turnover=time_Finish-time_Arrive;
		time_WeightedTurnover=time_Turnover/time_Sever;
	}//设置开始时间
	public float get_time_Start(){
		return time_Start;
	}
}
/*----------------------------------------------------------------------------------------------------------*/
